package com.pf.enums;

import lombok.Getter;

/**
 * @author PanFei
 * @date 2021/6/10 21:50
 * @Version 1.0
 */
@Getter
public enum BaseResultEnums {

    FAIL(-1, "调用失败！"),
    SUCCESS(0, "调用成功！"),
    SYSTEM_ERROR(99999, "系统异常！"),
    PARAM_ERROR(10000, "参数错误！");

    private Integer code;
    private String msg;

    BaseResultEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
